package com.online.edu.course.service;

import com.online.edu.course.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.online.edu.course.entity.Vo.CategoryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课程分类表 服务类
 * </p>
 *
 * @author world
 * @since 2021-07-30
 */
public interface ICategoryService extends IService<Category> {

    //实现多级树形查询
    List<CategoryVo> listWithTree();

    //删除分类
    boolean delCategory(long id) throws Exception;
}
